<%- if multi_language? -%>
<div class="button_with_label">
  <%= form_tag switch_language_admin_pages_path, method: 'get' do %>
    <%= select_tag(
      'language_id',
      options_for_select(@languages.map { |l| [l.name, l.id] }, Alchemy::Language.current.id),
      class: 'alchemy_selectbox short',
      data: {'auto-submit' => true}
    ) %>
  <% end %>
  <label><%= Alchemy.t("Language tree") %></label>
</div>
<div class="toolbar_spacer"></div>
<% end %>
